🎖️GitЯра🎖️
Node / meshtastic / Meshtastic-Android / files / core / service / src / androidMain / kotlin / org / meshtastic / core / service / AndroidServiceRepository.kt
Displaying Raw • Download
core/service/src/androidMain/kotlin/org/meshtastic/core/service/AndroidServiceRepository.kt e85300531e124df08788c1b765d50af1bf6d516d (e8530053) Text, 1.58 KB
T8b949e/*
* Copyright (c) 2025-2026 Meshtastic LLC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
Tff7b72package T7ee787org.meshtastic.core.service
Tff7b72import T7ee787org.koin.core.annotation.Single
Tff7b72import T7ee787org.meshtastic.core.repository.ServiceRepository
T8b949e/**
* Android-specific [ServiceRepository] that extends [ServiceRepositoryImpl] with AIDL service binding.
*
* The base class provides all reactive state management (connection state, error messages, mesh packets, etc.) in pure
* KMP code. This subclass adds the [IMeshService] reference needed by [AndroidRadioControllerImpl] and the AIDL binder
* in `MeshService`.
*/
Tf0883e@SingleTb4b4b4(Te6edf3binds Tff7b72= Tff7b72[Te6edf3ServiceRepositoryTff7b72::Te6edf3classTb4b4b4, Te6edf3AndroidServiceRepositoryTff7b72::Te6edf3classTff7b72]Tb4b4b4)
Tf0883e@SuppressTb4b4b4(Ta5d6ff"Ta5d6ffDEPRECATIONTa5d6ff"Tb4b4b4) T8b949e// IMeshService is deprecated but still required for AIDL binding
Tff7b72class T56d364AndroidServiceRepository Tb4b4b4: Te6edf3ServiceRepositoryImplTb4b4b4(Tb4b4b4) Tb4b4b4{
Tff7b72var Te6edf3meshServiceTb4b4b4: Te6edf3IMeshService? Tff7b72= Tff7b72null
Te6edf3private Tff7b72set
Tff7b72fun Td2a8ffsetMeshServiceTb4b4b4(Te6edf3serviceTb4b4b4: Te6edf3IMeshService?Tb4b4b4) Tb4b4b4{
Te6edf3meshService Tff7b72= Te6edf3service
Tb4b4b4}
Tb4b4b4}
Served by rngit 1.5.0 - Generated in 0.03s